package com.jxwifi.cloud.quickclean.bean;

import java.io.Serializable;

public class couponBean implements Serializable {

    private int amount;//优惠券数量，如果是0，则是无限量
    private String areaNames;//可用地区名称
    private String background;//background
    private String couponCode;//卡券代号
    private String createServiceCode;//客户标签代号
    private String createTime;//创建时间
    private int days;//基于领取时间的有效天数days。
    private boolean deleted;//逻辑删除
    private String desc;//优惠券介绍，通常是显示优惠券使用限制文字
    private int discount;//优惠金额
    private String endTime;//使用券截至时间
    private int goodsType;//商品限制类型，如果0则全商品，如果是1则是类目限制，如果是2则是商品限制
    private String goodsValue;//商品限制值，goods_type如果是0则空集合，如果是1则是类目集合，如果是2则是商品集合
    private int limit;//用户领券限制数量，如果是0，则是不限制；默认是1，限领一张
    private int min;//最少消费金额才能使用优惠券
    private String name;//优惠券名称
    private int sendAmount;//发送数量
    private String serviceCodes;//可用服务商编号
    private String startTime;//使用券开始时间
    private String status;//PRE预发布UP上架DOWN下架
    private String tagCode;//客户标签代号
    private String timeType;//有效时间限制，如果是days，则基于领取时间的有效天数days；如果是appointDate，则start_time和end_time是优惠券有效期；
    private String type;//优惠券赠送类型，如果是default则通用券，用户领取；如果是register，则是注册赠券；
    private String updateTime;//更新时间
    private int usedAmount;//已使用数量

    public int getAmount() {
        return amount;
    }

    public void setAmount(int amount) {
        this.amount = amount;
    }

    public String getAreaNames() {
        return areaNames;
    }

    public void setAreaNames(String areaNames) {
        this.areaNames = areaNames;
    }

    public String getBackground() {
        return background;
    }

    public void setBackground(String background) {
        this.background = background;
    }

    public String getCouponCode() {
        return couponCode;
    }

    public void setCouponCode(String couponCode) {
        this.couponCode = couponCode;
    }

    public String getCreateServiceCode() {
        return createServiceCode;
    }

    public void setCreateServiceCode(String createServiceCode) {
        this.createServiceCode = createServiceCode;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public int getDays() {
        return days;
    }

    public void setDays(int days) {
        this.days = days;
    }

    public boolean isDeleted() {
        return deleted;
    }

    public void setDeleted(boolean deleted) {
        this.deleted = deleted;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public int getDiscount() {
        return discount;
    }

    public void setDiscount(int discount) {
        this.discount = discount;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public int getGoodsType() {
        return goodsType;
    }

    public void setGoodsType(int goodsType) {
        this.goodsType = goodsType;
    }

    public String getGoodsValue() {
        return goodsValue;
    }

    public void setGoodsValue(String goodsValue) {
        this.goodsValue = goodsValue;
    }

    public int getLimit() {
        return limit;
    }

    public void setLimit(int limit) {
        this.limit = limit;
    }

    public int getMin() {
        return min;
    }

    public void setMin(int min) {
        this.min = min;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getSendAmount() {
        return sendAmount;
    }

    public void setSendAmount(int sendAmount) {
        this.sendAmount = sendAmount;
    }

    public String getServiceCodes() {
        return serviceCodes;
    }

    public void setServiceCodes(String serviceCodes) {
        this.serviceCodes = serviceCodes;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getTagCode() {
        return tagCode;
    }

    public void setTagCode(String tagCode) {
        this.tagCode = tagCode;
    }

    public String getTimeType() {
        return timeType;
    }

    public void setTimeType(String timeType) {
        this.timeType = timeType;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public int getUsedAmount() {
        return usedAmount;
    }

    public void setUsedAmount(int usedAmount) {
        this.usedAmount = usedAmount;
    }
}
